<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/6/20
  Time: 9:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>显示所有的用户</title>
</head>
<body>
    <table border="1px">
        <tr>
            <td>编号</td>
            <td>用户名</td>
            <td>密码</td>
            <td>盐值</td>
            <td>部门编号</td>
            <td>头像</td>
            <td>操作</td>
        </tr>
        <c:forEach items="${userinfoList}" var="userinfo">
            <tr>
                <td>${userinfo.userid}</td>
                <td>${userinfo.username}</td>
                <td>${userinfo.password}</td>
                <td>${userinfo.salt}</td>
                <td>${userinfo.deptid}</td>
                <td>${userinfo.avatar}</td>
                <td><a href="userinfo?method=delete&userid=${userinfo.userid}">删除</a></td>
            </tr>

        </c:forEach>
    </table>
</body>
</html>
